// CircuitObjActiveXPropPage.cpp : Implementation of the CCircuitObjActiveXPropPage property page class.

#include "stdafx.h"
#include "CircuitObjActiveX.h"
#include "CircuitObjActiveXPropPage.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#endif


IMPLEMENT_DYNCREATE(CCircuitObjActiveXPropPage, COlePropertyPage)



// Message map

BEGIN_MESSAGE_MAP(CCircuitObjActiveXPropPage, COlePropertyPage)
END_MESSAGE_MAP()



// Initialize class factory and guid

IMPLEMENT_OLECREATE_EX(CCircuitObjActiveXPropPage, "CIRCUITOBJACTI.CircuitObjActiPropPage",
	0x92ec003, 0xb05f, 0x4865, 0x9f, 0xde, 0x68, 0x26, 0x36, 0xe6, 0xb4, 0xeb)



// CCircuitObjActiveXPropPage::CCircuitObjActiveXPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CCircuitObjActiveXPropPage

BOOL CCircuitObjActiveXPropPage::CCircuitObjActiveXPropPageFactory::UpdateRegistry(BOOL bRegister)
{
	if (bRegister)
		return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
			m_clsid, IDS_CIRCUITOBJACTIVEX_PPG);
	else
		return AfxOleUnregisterClass(m_clsid, NULL);
}



// CCircuitObjActiveXPropPage::CCircuitObjActiveXPropPage - Constructor

CCircuitObjActiveXPropPage::CCircuitObjActiveXPropPage() :
	COlePropertyPage(IDD, IDS_CIRCUITOBJACTIVEX_PPG_CAPTION)
{
}



// CCircuitObjActiveXPropPage::DoDataExchange - Moves data between page and properties

void CCircuitObjActiveXPropPage::DoDataExchange(CDataExchange* pDX)
{
	DDP_PostProcessing(pDX);
}



// CCircuitObjActiveXPropPage message handlers
